package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConvert {
    SubjectInfoDTOConvert INSTABCE = Mappers.getMapper(SubjectInfoDTOConvert.class);

    SubjectInfoBO convertDtoToInfoBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBoToInfoDTO(SubjectInfoBO subjectInfoBO);


    List<SubjectInfoDTO> convertBoToInfoDtoList(List<SubjectInfoBO> subjectInfoBOList);

}
